/**
 * 判断是否已登录
 *
 */
#include "../myfastdo/myfastdo.hpp"
#include "../utils.hpp"
#include "../protocol_dist.hpp"
USING_ALL;
FASTDO_API void ActionMain(MyFastdoServer &SERV)
{
    User user(SERV.data.REQ);
    ProtocolS2CIsLogged rtn;
    rtn.is_logged = user.isLogged();
    SERV.data.res.data = rtn.toMixed();
}